#include "base_game.h"
#include "base_player.h"
#include "base_desk.h"
#include "base_room.h"
#include "base_game_impl.h"
BaseGame::BaseGame(void)
{
	m_impl = new BaseGameImpl;
	m_impl->setBaseGame(this);
}

BaseGame::~BaseGame(void)
{
	delete m_impl;
}

BaseDesk* BaseGame::onCreateDesk()
{
	return new BaseDesk;
}

BasePlayer* BaseGame::onCreatePlayer()
{
	return new BasePlayer;
}

BaseRoom* BaseGame::onCreateRoom()
{
	return new BaseRoom;
}


void BaseGame::start()
{
	m_impl->start();
}
